package com.nation.dao;


import com.nation.domain.TNationInfo;
import com.nation.domain.TNatureAndResource;
import com.nation.domain.VPoliticsAndMilitary;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by dqd on 2017/11/3.
 */
@Repository
public interface NatureDao {
    public List<TNatureAndResource> findAllNature();

    public TNatureAndResource findByCountryCode(String country_code);

    public Boolean updateNature(TNatureAndResource TNatureAndResource);

    public List<TNatureAndResource> findNatureByLimit(Map<String,Object> map);

    public Boolean insert(TNatureAndResource TNatureAndResource);

    public List<TNatureAndResource> findByCondition(Map<String,Object> map);

    public Boolean delete(String pk);
}
